package com.chenyanqing.sqlsession;

import com.chenyanqing.config.Configuration;
import com.chenyanqing.pojo.MapperStatement;

import java.sql.SQLException;
import java.util.List;

public interface Executor {


    public  <T> List<T> query(Configuration configuration, MapperStatement mapperStatement, Object...objects) throws SQLException, Exception;

    public int update(Configuration configuration,MapperStatement mappedStatement,Object... params) throws Exception;


}
